Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update several string references which can be renamed by closure-compiler #5472

Merged
merged 3 commits into from
Feb 19, 2019

Conversation

ChadKillingsworth
Copy link
Contributor

I stumbled across a few path references in Polymer that were not reflected. For users who are not using the EXPORT_ALL policy of closure compiler, the properties would have been renamed inconsistently.

Once google/closure-compiler#3184 is merged, the compiler will be able to handle reflection of observer and computed properties paths. However references to paths within other code, such as those to notifyPath, will still need to be manually reflected.

Copy link
Contributor

@TimvdLippe TimvdLippe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just 1 nit probably applicable to all usages. Nice work @ChadKillingsworth !

lib/elements/array-selector.html Outdated Show resolved Hide resolved
@ChadKillingsworth
Copy link
Contributor Author

I did search the entire code base for these type of usages, including:

  • .notifyPath
  • .notifySplices
  • .get
  • .set
  • .push
  • .shift
  • .unshift
  • .splice

This was all of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants